package com.service;

import com.github.pagehelper.Page;
import com.github.pagehelper.PageInfo;
import com.pojo.Student;
import com.req.StudentPageReq;

import java.util.List;

public interface StudentService{

    Student login(String account, String password);

    boolean register(Student student);

    Student getUserByAccount(String account);

    boolean updatePassword(Student student);

    Student getById(Integer id);

    boolean save(Student student);

    void removeById(List<Integer> ids);

    void updateById(Student student);

    PageInfo<Student> page(StudentPageReq studentPageReq);

    List<String> getMajorList();

    List<String> getClassList();

    boolean changePassword(Student student);

    boolean checkPassword(Student student);
}
